package com.aeon.tst.runners;

import org.junit.runner.Result;
import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
import org.junit.runner.notification.RunNotifier;
import org.junit.runners.JUnit4;
import org.junit.runners.model.InitializationError;

import com.aeon.tst.TestCalculator;

public class Runners {
	public static void main(String[] args) throws InitializationError {

		JUnit4 unit4 = new JUnit4(TestCalculator.class);
		RunNotifier notifier = new RunNotifier();
		notifier.addListener(new RunListener() {
			@Override
			public void testRunFinished(Result result) throws Exception {
				System.out.println("sssg");
			}

		});
		unit4.run(notifier);
	}
}
